CREATE TABLE [dbo].[TblBakhsh]
(
[ID] [uniqueidentifier] NOT NULL,
[Name] [nvarchar] (max) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[CityId] [uniqueidentifier] NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[TblBakhsh] ADD CONSTRAINT [PK_TblBakhsh] PRIMARY KEY CLUSTERED  ([ID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TblBakhsh] ADD CONSTRAINT [FK_TblBakhsh_TblCity] FOREIGN KEY ([CityId]) REFERENCES [dbo].[TblCity] ([ID]) ON DELETE CASCADE ON UPDATE CASCADE
GO
